package com.ghbank.rdws.batchservice;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.transaction.annotation.EnableTransactionManagement;

import com.ghbank.rdws.auth.RdwsAuthConfig;
import com.ghbank.rdws.biz.RtdsBizConfig;
import com.ghbank.rdws.common.RtdsCommonConfig;


@SpringBootApplication
@EnableAutoConfiguration
@EnableTransactionManagement
@Configuration
@EnableAspectJAutoProxy
@ComponentScan(basePackageClasses = {RtdsCommonConfig.class,
    RtdsBizConfig.class,RdwsAuthConfig.class,
    BatchServiceApplication.class})
public class BatchServiceApplication {
    public static void main(String[] args) {
        SpringApplication.run(BatchServiceApplication.class, args);
    }
}
